<{include file="index/header.html"}>
<div class="nav"> 
	<a href="?m=api&a=notice">消息通知</a>
	<a href="?m=api&a=notice_log" class="ch">消息列表</a>  
</div> 
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>短信，邮件，微信模板消息通知记录。</p> 
	</div>
</div> 
<div class="filter"> 
	<a href="?m=api&a=notice_log_truncate" class="button">清除全部</a> 
	<form action="#" method="get">
		<input type="hidden" name="m" value="goods"/>	
		<input type="hidden" name="a" value="index"/>
		<div class="sch">
			<input type="text" name="key" class="text" value="" placeholder="请输入要查找的用户"/>
			<input type="submit" class="submit" value="确定"/>
		</div>
	</form> 
</div>

<div class="main"> 
	<table class="ltable">
		<thead>
			<tr> 
				<th width="60">编号</th>
				<th width="60">类型</th> 
				<th width="300">账号</th> 
				<th width="60">状态</th> 
				<th width="80">操作</th>
				<th width="130">时间</th>
				<th width="200">备注</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
	<{if $data.list}>
		<{foreach item=i from=$data.list}>
			<tr>
				<td><{$i.id}></td>
				<td><{$i.type}></td> 
				<td><{$i.username}></td> 
				<td>
					<{if $i.status == '0'}>
						未发
					<{elseif $i.status == '1'}>
						成功
					<{else if $i.status == '2'}>	
						失败
					<{/if}>
				</td>
				<td><a href="?m=api&a=notice_log_del&id=<{$i.id}>" class="del">删除</a></td> 
				<td><{$i.addtime}></td>
				<td><{$i.remark}></td>
				<td></td>
			</tr>
		<{/foreach}>
	<{else}>
	  		<tr><td colspan="8">还没有数据，赶快添加吧！</td></tr>
	<{/if}>
		</tbody>
	</table> 
</div>
<{include file="index/footer.html"}> 